<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>注册</title>
      <link rel="stylesheet" href="/static/css/style.css" type="text/css">
</head>
<body>
  <div id="clouds">
	<div class="cloud x1"></div>
	<!-- Time for multiple clouds to dance around -->
	<div class="cloud x2"></div>
	<div class="cloud x3"></div>
	<div class="cloud x4"></div>
	<div class="cloud x5"></div>
    <div class="cloud x6"></div>
    <div class="cloud x2"></div>
    <div class="cloud x3"></div>
    <div class="cloud x5"></div>
    <div class="cloud x1"></div>
    <div class="cloud x5"></div>
</div>
 <div class="container">
      <div id="login">
        <form  action="/register" method="post">
          <fieldset class="clearfix">
           <span class="fontawesome-user">用户名：</span>
          <input type="text" name="username" placeholder="请输入用户名">
          <br>
          <span class="fontawesome-lock"> 密码 </span>
          <input type="password" name="password" placeholder="请输入密码">
          <br>
          <span class="fontawesome-lock"> 确认密码 </span>
          <input type="password" name="password2" placeholder="请再次输入密码">
          <p><input type="submit" value="注册"></p>
          </fieldset>
        </form>
        <p>已有账号 <a href="/login" class="blue">现在去登录</a><span class="fontawesome-arrow-right"></span></p>
          <div name="message" style="color: red;text-align:center;font-size: 20px">
              <br>
              {{ if .code }}
                  {{ .message }}
              {{ end }}
          </div>
      </div>
    </div>
</body>
</html>